package com.atguigu.lease.web.app.service;

import com.atguigu.lease.model.entity.UserInfo;
import com.atguigu.lease.web.app.vo.user.LoginVo;
import com.atguigu.lease.web.app.vo.user.UserInfoVo;

public interface LoginService {


    void sendCode(String phone) throws Exception;

    String login(LoginVo loginVo);

    UserInfoVo getUserById(Integer userId);

    UserInfo getUserInfoById(Integer userId);
}
